package com.example.designmode.responsibility


/**
 * 总经理
 *
 * @author zhouronghua
 * @time 2022/3/9 3:35 下午
 */
class GroupManager : Handler(Handler.Companion.threeDay, Handler.Companion.sevenDay) {

    override fun handleRequest(request: LeaveRequest) {
        println("${request.name} 请假 ${request.days} 原因：${request.reason}")
        println("总经理申批：同意")
    }
}